<?php 
$current=$this->layout()->current;
$styleNoActive='noactive';
$styleActive='active';

$styleHome=$styleNoActive;
$styleIntro=$styleNoActive;
$styleService=$styleNoActive;
$styleWeb=$styleNoActive;
$styleNew=$styleNoActive;
$styleJob=$styleNoActive;
$styleContact=$styleNoActive;

if($current=='home') $styleHome=$styleActive; 
if($current=='gioi-thieu') $styleIntro=$styleActive; 
if($current=='service') $styleService=$styleActive; 
if($current=='web') $styleWeb=$styleActive; 
if($current=='news') $styleNew=$styleActive;
if($current=='tuyen-dung') $styleJob=$styleActive;
if($current=='contact') $styleContact=$styleActive;
?>
<!--------------------HEADER (Start) ---------------------->
                <div class="header">
                    <div class="logo"><a href="<?php echo DOMAIN_URL ?>"><img src="<?php echo TEMPLATE_SYSTEM1_URL ?>/images/logo.png" alt="" /></a></div>
                    <!--------------------MENU-TOP (Start) -------------------->
                    <div class="menu-top">
                        <ul class="nav">
                            <li class="list <?php echo $styleHome ?>">
                                <a class="item home" href="<?php echo DOMAIN_URL ?>">Home</a>
                            </li>
                            <li class="list <?php echo $styleIntro ?>">
                                <a class="item" href="<?php echo DOMAIN_URL."/gioi-thieu.html" ?>">Giới thiệu</a>
                                <span class="note">Sơ lược công ty</span>
                            </li>
                            <li class="list <?php echo $styleService ?>">
                                <a class="item" href="<?php echo DOMAIN_URL."/dich-vu.html" ?>">Dịch vụ</a>
                                <span class="note">Sản phẩm dịch vụ</span>
                                <ul>
                                	<?php 
                                	$mdlCatalogService=new Zendme_Models_CategoryService();
									$items=$mdlCatalogService->listItem(null,array('task'=>'public'));
									foreach ($items as $item){	
									$name=$item['name'];
									$slug=$item['slug'];						
                                	?>
                                    <li><a href="<?php echo DOMAIN_URL."/dich-vu/$slug.html" ?>"><?php echo $name ?></a></li>
                                    <?php } ?>
                                </ul>
                            </li>
                            <li class="list <?php echo $styleWeb ?>">
                                <a class="item" href="<?php echo DOMAIN_URL."/thiet-ke-web.html" ?>">TK website</a>
                                <span class="note">Tư vấn thiết kế website </span>
                            </li>
                            <li class="list <?php echo $styleNew ?>">
                                <a class="item" href="<?php echo DOMAIN_URL."/tin-tuc.html" ?>">Tin tức</a>
                                <span class="note">Tin tức &amp; sự kiện</span>
                            </li>
                            <!--  
                            <li class="list <?php echo $styleJob ?>">
                                <a class="item" href="<?php echo DOMAIN_URL."/tuyen-dung.html" ?>">Tuyển dụng</a>
                                <span class="note">Thông tin việc làm</span>
                            </li>
                            -->
                            <li class="list <?php echo $styleContact ?>">
                                <a class="item" href="<?php echo DOMAIN_URL."/lien-he.html" ?>">Liên hệ</a>
                                <span class="note">Thông tin liên hệ</span>
                            </li>
                        </ul>
                    </div>
                    <!--------------------MENU-TOP (End) ---------------------->
                </div>
                <!--------------------HEADER (End) ------------------------>